<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="java.util.ArrayList"%>
<%@page import="dao.Code"%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
</head>
<body>
	<table>
		<tr>
			<td>code_id</td>
			<td>code_category_id</td>
			<td>code_value</td>			
		</tr>
	<%
		ArrayList<Code> results = (ArrayList<Code>)request.getAttribute("result");
		for(Code code : results) {
	%>
		<tr>
			<td><%=code.getCode_id() %></td>
			<td><%=code.getCode_category_id() %></td>
			<td><%=code.getCode_value() %></td>

		</tr>
	<%
		}
	%>
	</table>
	
</body>
</html>